package acs.bridge.model;

/**
 * acs.bridge.model
 * User: KuznetsovStV
 * Date: 24.06.13
 * Time: 12:35
 */
public class bm_load_way4_model {
    public String getDrn() {
        return drn;
    }

    public void setDrn(String drn) {
        if (this.drn == null)
            this.drn = drn;
        else
            this.drn = this.drn + drn;

    }

    public String getOrig_drn() {
        return orig_drn;
    }

    public void setOrig_drn(String orig_drn) {
        if (this.orig_drn == null)
            this.orig_drn = orig_drn;
        else
            this.orig_drn = this.orig_drn + orig_drn;
    }

    public String getPrev_drn() {
        return prev_drn;
    }

    public void setPrev_drn(String prev_drn) {
        if (this.prev_drn == null)
            this.prev_drn = prev_drn;
        else
            this.prev_drn = this.prev_drn + prev_drn;
    }

    public String getTerm_id() {
        return term_id;
    }

    public void setTerm_id(String term_id) {
        if (this.term_id == null)
            this.term_id = term_id;
        else
            this.term_id = this.term_id + term_id;
    }

    public String getCard_number() {
        return card_number;
    }

    public void setCard_number(String card_number) {
        if (this.card_number == null)
            this.card_number = card_number;
        else
            this.card_number = this.card_number + card_number;
    }

    public String getOper_date() {
        return oper_date;
    }

    public void setOper_date(String oper_date) {
        if (this.oper_date == null)
            this.oper_date = oper_date;
        else
            this.oper_date = this.oper_date + oper_date;
    }

    public String getCurrency() {

        return currency;
    }

    public void setCurrency(String currency) {
        if (this.currency == null)
            this.currency = currency;
        else
            this.currency = this.currency + currency;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        if (this.amount == null)
            this.amount = amount;
        else
            this.amount = this.amount + amount;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        if (this.fee == null)
            this.fee = fee;
        else
            this.fee = this.fee + fee;
    }

    public String getRrn() {
        return rrn;
    }

    public void setRrn(String rrn) {
        if (this.rrn == null)
            this.rrn = rrn;
        else
            this.rrn = this.rrn + rrn;
    }

    public String getAuthcode() {

        return authcode;
    }

    public void setAuthcode(String authcode) {
        if (this.authcode == null)
            this.authcode = authcode;
        else
            this.authcode = this.authcode + authcode;
    }

    public String getGood_code() {
        return good_code;
    }

    public void setGood_code(String good_code) {
        if (this.good_code == null)
            this.good_code = good_code;
        else
            this.good_code = this.good_code + good_code;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        if (this.quantity == null)
            this.quantity = quantity;
        else
            this.quantity = this.quantity + quantity;
    }

    public String getSrc_price() {
        return src_price;
    }

    public void setSrc_price(String src_price) {
        if (this.src_price == null)
            this.src_price = src_price;
        else
            this.src_price = this.src_price + src_price;
    }

    public String getBase_price() {
        return base_price;
    }

    public void setBase_price(String base_price) {
        if (this.base_price == null)
            this.base_price = base_price;
        else
            this.base_price = this.base_price + base_price;
    }

    public String getTrans_code() {
        return trans_code;
    }

    public void setTrans_code(String trans_code) {
        if (this.trans_code == null)
            this.trans_code = trans_code;
        else
            this.trans_code = this.trans_code + trans_code;
    }

    /* Идентификатор документа*/
    String drn;
    /* Идентификатор исходного документа в цепочке документов */
    String orig_drn;
    /* Идентификатор предыдущего документа в цепочке документов */
    String prev_drn;
    /* Идентификатор терминала */
    String term_id;
    /* Номер карты */
    String card_number;
    /* Дата и время хоста с учетом часового пояса терминала */
    String oper_date;
    /* Валюта */
    String currency;
    /* Сумма опреации */
    String amount;
    /* Сумма скидки НПО ЛИАКРДу */
    String fee;
    /* Retrieval Reference Number */
    String rrn;
    /* Authorisation Code*/
    String authcode;
    /*Код товара Ликард*/
    String good_code;
    /* Количество товара в позиции */
    String quantity;
    /* Цена покупки единицы товара у НПО ЛИКАРЛом*/
    String src_price;
    /* Цена стеллы */
    String base_price;
    /* Категория запроса/уведомления документа */
    String trans_code;
    /* Id товара Ликард */
    String good_id;
    /* Идентификатор филиала НПО */
    String transitContractNumber;
    /* Канал обслуживания. Возможные значения:	f – топливные карты; 	R – банковские карты */
    String channel;
    /* Ссылка на документ для отмены */
    String repost_doc;
    /* Ссылка на шапку чека */
    String summdrn;

    public String getSummdrn() {
        return summdrn;
    }

    public void setSummdrn(String summdrn) {
        this.summdrn = summdrn;
    }

    public String getRepost_doc() {
        return repost_doc;
    }

    public void setRepost_doc(String repost_doc) {
        this.repost_doc = repost_doc;
    }



    public String getTgt_cost_amount() {
        return tgt_cost_amount;
    }

    public void setTgt_cost_amount(String tgt_cost_amount) {
        this.tgt_cost_amount = tgt_cost_amount;
    }

    public String getDiscount_amount() {
        return discount_amount;
    }

    public void setDiscount_amount(String discount_amount) {
        this.discount_amount = discount_amount;
    }

    /* сумма для клиента на позицию чека с учетом всех скидок */
    String tgt_cost_amount;
    /* сумма скидки на позицию чека */
    String discount_amount;

    public String getCommodity() {
        return сommodity;
    }

    public void setCommodity(String a_commodity) {
        if (this.сommodity == null)
            this.сommodity = a_commodity;
        else
            this.сommodity = this.сommodity + a_commodity;

    }

    /*
         * Тип товара
         * FUEL – топливо;
         * GOODS – не топливные товары;
         * SERVICE- услуги.
         * */
    String сommodity;

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        if (this.country == null)
            this.country = country;
        else
            this.country = this.country + country;

    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {

        if (this.city == null)
            this.city = city;
        else
            this.city = this.city + city;

    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        if (this.location == null)
            this.location = location;
        else
            this.location = this.location + location;
    }

    String country;
    String city;
    String location;

    public String getRest_quantity() {
        return rest_quantity;
    }

    public void setRest_quantity(String rest_quantity) {
        if (this.rest_quantity == null)
            this.rest_quantity = rest_quantity;
        else
            this.rest_quantity = this.rest_quantity + rest_quantity;
    }

    /* Количество */
    String rest_quantity;

    public String getTransitContractNumber() {
        return transitContractNumber;
    }

    public void setTransitContractNumber(String transitContractNumber) {
        if (this.transitContractNumber == null)
            this.transitContractNumber = transitContractNumber;
        else
            this.transitContractNumber = this.transitContractNumber + transitContractNumber;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        if (this.channel == null)
            this.channel = channel;
        else
            this.channel = this.channel + channel;
    }


    public String getGood_id() {
        return good_id;
    }

    public void setGood_id(String good_id) {
        if (this.good_id == null)
            this.good_id = good_id;
        else
            this.good_id = this.good_id + good_id;
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        if (this.description == null)
            this.description = description;
        else
            this.description = this.description + description;
    }

    public void setNull() {
        drn = null;
        orig_drn = null;
        prev_drn = null;
        term_id = null;
        card_number = null;
        oper_date = null;
        currency = null;
        amount = null;
        fee = null;
        rrn = null;
        authcode = null;
        good_code = null;
        quantity = null;
        src_price = null;
        base_price = null;
        trans_code = null;
        good_id = null;
        transitContractNumber = null;
        channel = null;
        description = null;
        summdrn = null;
        repost_doc=null;
    }

    /* Описание */
    String description;
}
